package com.wa.nashorn;

import java.util.concurrent.BlockingQueue;

public interface ScriptEngineService {
    void push(Script script);

    <T> T poll(BlockingQueue<T> queue);

    <T> T poll(BlockingQueue<T> queue, Integer timeoutSeconds);
}
